github 2fa 中国区认证解决

2023年10月10日 Jerry 5086 2023年11月3日

对github有代码贡献的帐号要求进行2FA验证, 否则过期不能提交代码。(虽说我写的那些都是bug堆起来的垃圾代码angry

Because of your contributions on GitHub, two-factor authentication will be required for your account starting Sep 28, 2023. Thank you for helping keep the ecosystem safe! 

开启2FA后,除了输入密码外,还需要通过一次性密码(OTP)等方式做第二级身份验证,才能成功登录账号。有效避免因为密码泄露,而导致账号被盗用。

但是github手机短信验证不支持+86中国号码。

方法1:下载个totp应用,手机应用市场找找吧。。。我懒得下

方法2:浏览器插件

开源的Authenticator: 2FA Client  https://github.com/Authenticator-Extension/Authenticator

对应的Edge插件:Authenticator: 2FA Client - Microsoft Edge Addons

对应的chrome插件:身份验证器 - Chrome 应用商店 (google.com)


以edge插件为例:

1、点击下载安装插件

2、打开2FA设置页面
电脑网页登录GitHub账号 -> “Settings” -> “Password and authentication” -> “Enable two-factor authentication”

3、点击插件右上角扫码添加

根据提示截取激活2fa页面上github给的码即可。

你学废了吗?


原创文章,转载请注明出处: https://jerrycoding.com/article/github-f2a

微信
jerry微信赞助
支付宝
jerry支付宝赞助

您尚未登录,暂时无法评论。请先 登录 或者 注册

0 人参与 | 0 条评论